<?php
include_once 'bean.php';

class Tag extends Bean {
    
	protected $id, $tag;
	
	public function Tag() {
	}
	
	public function get_id() {
		return $this->id;
	}
	
	public function get_tag() {
		return $this->tag;
	}
	
	public function set_id($id) {
		$this->id = $id;
	}
	
	public function set_tag($tag) {
		$this->tag = $tag;
	}
	
	static function comparar($tag1, $tag2) {
		return strcasecmp($tag1->get_tag(), $tag2->get_tag());
	}
	
}
	
?>